package com.only4play.usercenter.service;

import java.util.List;

/**
 * @author liyuncong
 * @version 1.0
 * @file RequestLogService
 * @brief 请求日志服务
 * @details 请求日志服务
 * @date 2024-05-21
 *
 * Edit History
 * ----------------------------------------------------------------------------
 * DATE                     NAME               DESCRIPTION
 * 2024-05-21               liyuncong          Created
 */


public interface RequestLogService<T> {

    Boolean isEmpty();

    int size();

    T poll();

    void offer(T log);

    Boolean insertBatch(List<T> logs);
}
